package C11_12_ReplaceDelegationWithInheritance.refactorbefore;

/**
 * @ClassName : Employee
 * @Description :
 * @Author : wukj1
 * @Date: 2022/8/16
 **/
public class Employee {

    private Person person = new Person();

    public String getName() {
        return person.getName();
    }

    public void setName(String name) {
        person.setName(name);
    }

    public String getLastName() {
        return "Emp: " + person.getLastName();
    }

}
